/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrBankCard;
/*    */ import com.cr.business.mapper.CrBankCardMapper;
/*    */ import com.cr.business.service.ICrBankCardService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrBankCardServiceImpl implements ICrBankCardService {
/*    */   @Autowired
/*    */   private CrBankCardMapper crBankCardMapper;
/*    */   
/*    */   public CrBankCard selectCrBankCardByCardId(Long cardId) {
/* 33 */     return this.crBankCardMapper.selectCrBankCardByCardId(cardId);
/*    */   }
/*    */   
/*    */   public List<CrBankCard> selectCrBankCardList(CrBankCard crBankCard) {
/* 45 */     return this.crBankCardMapper.selectCrBankCardList(crBankCard);
/*    */   }
/*    */   
/*    */   public int insertCrBankCard(CrBankCard crBankCard) {
/* 57 */     crBankCard.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crBankCardMapper.insertCrBankCard(crBankCard);
/*    */   }
/*    */   
/*    */   public int updateCrBankCard(CrBankCard crBankCard) {
/* 70 */     crBankCard.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crBankCardMapper.updateCrBankCard(crBankCard);
/*    */   }
/*    */   
/*    */   public int deleteCrBankCardByCardIds(String cardIds) {
/* 83 */     return this.crBankCardMapper.deleteCrBankCardByCardIds(Convert.toStrArray(cardIds));
/*    */   }
/*    */   
/*    */   public int deleteCrBankCardByCardId(Long cardId) {
/* 95 */     return this.crBankCardMapper.deleteCrBankCardByCardId(cardId);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrBankCardServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */